package com.nuoniu.sibanyun.entity.vo.statistics;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("库存统计__现存量")
public class StorageOnHandVo extends BaseEntity {

    @ApiModelProperty(value = "数据类型")
    private Integer dataType;

    @ApiModelProperty(value = "仓库id")
    @TableField("warehouse_id")
    private Integer warehouseId;

    @ApiModelProperty(value = "仓库名字")
    @TableField("warehouse_name")
    private String warehouseName;

    @ApiModelProperty(value = "仓库编码")
    @TableField("warehouse_code")
    private String warehouseCode;

    @ApiModelProperty(value = "货位ID")
    @TableField("inventory_location_id")
    private Integer inventoryLocationId;

    @ApiModelProperty(value = "货位名称")
    @TableField("inventory_location_name")
    private String inventoryLocationName;

    @ApiModelProperty(value = "货位编码")
    @TableField("inventory_location_code")
    private String inventoryLocationCode;

    @ApiModelProperty(value = "物料id")
    @TableField("inventory_id")
    private Integer inventoryId;

    @ApiModelProperty(value = "物料编码")
    @TableField("inventory_code")
    private String inventoryCode;

    @ApiModelProperty(value = "物料名称")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "库存量")
    @TableField("inventory_quantity")
    private BigDecimal inventoryQuantity;

    @ApiModelProperty(value = "可用量")
    @TableField("available_quantity")
    private BigDecimal availableQuantity;



    @ApiModelProperty(value = "规格型号")
    @TableField("inventory_specification")
    private String inventorySpecification;

    @ApiModelProperty(value = "计量单位")
    @TableField("unit_name")
    private String unitName;

    @ApiModelProperty(value = "最低库存")
    @TableField("min_storage")
    private BigDecimal minStorage;

    @ApiModelProperty(value = "最高库存")
    @TableField("max_storage")
    private BigDecimal maxStorage;


}
